<?php
/**
 * 
 * 此页面只接受ajax请求
 *
 */

class AjaxController extends MController
{
	public function init()
	{
		parent::init();
		if (!Yii::app()->request->isAjaxRequest)
		{
			$this->util->show_404();
		}
		
	}
	/*
	public function filters()
	{
		return array('AjaxOnly');
	}
	*/
}